<!DOCTYPE html>
<html>
<head>
  <meta charset="utf-8">
  <meta name="viewport" content="width=device-width">
  <title>法术大师</title>
  <link rel="stylesheet" type="text/css" href="stylesheets/styles.css">
</head>
<body>
  <div id="manaContainer">
    <div id="mana">
      <div id="currentMana"></div>
    </div>
    <div id="focusShop" style="display: none;" class="noneOnHardReset">
      <button id="manaCapUpg" class="focusUpg" onclick="manaCapUpgrade()">法力上限</button>
      <button id="manaRegenUpg" class="focusUpg" onclick="manaRegenUpgrade()">法力回复</button>
    </div>
    <div style="width: 33%; float:left">
      <div style="text-align:center; font-size: 20px;" id="manaInfo">Mana: 100/100</div>
      <div style="text-align:center; font-size: 20px;" id="mps">5 per second.</div>
    </div>
    <div style="width: 33%; float:left; visibility: hidden;" id="coinInfoDiv" class="hideOnHardReset">
      <div style="text-align:center; font-size: 20px;" id="coinInfo">Coins: 0</div>
      <div style="text-align:center; font-size: 20px;" id="cps">0 per second.</div>
    </div>
    <div style="width: 33%; float:left; visibility: hidden;" id="focusInfoDiv" class="hideOnHardReset">
      <div style="text-align:center; font-size: 20px;" id="focusInfo">专注: 0</div>
      <div style="text-align:center; font-size: 20px;" id="fps">0 每秒。</div>
    </div>
  </div>
  <br>
  <button id="settingsButton" class="spellCast" onclick="showSettings()">设置</button>
  <br>
  <div id="Conjuration" style="width: 50%; float: left">
    <div class="spellType">咒语:</div>
    <div class="spellDiv" id="createSpell">
      <br>
      <span class="spellName">Cantio Incantamentum</span>
      <div id="createSpellDescription">创建一个新的法术。</div>
      <br>
      <div id="createSpellCost">消耗: 50 法力</div>
      <br>
      <button id="createSpellbtn" class="spellCast" onclick="createSpell()">施放</button>
    </div>
    <div class="spellDiv noneOnHardReset" id="createCaster" style="display: none;">
      <br>
      <span class="spellName">Facio Artifex Liber</span>
      <div id="createCasterDescription">创建一个新的自动施法法术。</div>
      <br>
      <div id="createCasterCost">消耗: 150 法力</div>
      <br>
      <button id="createCasterbtn" class="spellCast" onclick="createCaster()">施放</button>
    </div>
  </div>

  <div id="Creation" style="display: none; width: 50%; float: left" class="noneOnHardReset">
    <div class="spellType">创造:</div>

    <div class="spellDiv" id="makeCoins">
      <br>
        <span class="spellName">Fabricatio argentaria</span>
      <div id="makeCoinsDescription">每秒生产5金币</div>
      <br>
      <button id="makeCoinsPowerUpg" class="spellUpg" onclick="upgradePower('coinSpell')">P</button>
      <button id="makeCoinsDurationUpg" class="spellUpg" onclick="upgradeDuration('coinSpell')">D</button>
      <button id="makeCoinsCostUpg" class="spellUpg" onclick="upgradeCost('coinSpell')">C</button>
      <br>
      <div id="makeCoinsDuration"></div>
      <div id="makeCoinsCost">消耗: 100 法力</div>
      <br>
      <button id="makeCoinsbtn" class="spellCast" onclick="makeCoins()">施放</button>
      <div id="makeCoinsTimesCast">施放时间: 0</div>
    </div>

    <div class="spellDiv" id="makeFocus" style="display: none;">
      <br>
      <span class="spellName">Focus creo</span>
      <div id="makeFocusDescription">每秒生产2点专注</div>
      <br>
      <button id="makeFocusPowerUpg" class="spellUpg" onclick="upgradePower('focusSpell')">P</button>
      <button id="makeFocusDurationUpg" class="spellUpg" onclick="upgradeDuration('focusSpell')">D</button>
      <button id="makeFocusCostUpg" class="spellUpg" onclick="upgradeCost('focusSpell')">C</button>
      <br>
      <div id="makeFocusDuration"></div>
      <div id="makeFocusCost">消耗: 100 法力</div>
      <br>
      <button id="makeFocusbtn" class="spellCast" onclick="makeFocus()">施放</button>
      <div id="makeFocusTimesCast">施放次数: 0</div>
    </div>

  </div>

  <div id="Enhancion" style="display: none; width: 50%; float: left" class="noneOnHardReset">
    <div class="spellType">加强:</div>

    <div class="spellDiv" id="coinMult">
      <br>      
      <span class="spellName">Multiplicationem fab.</span>
      <div id="coinMultDescription">将你的金币产量乘以2</div>
      <br>
      <button id="coinMultPowerUpg" class="spellUpg" onclick="upgradePower('coinMultSpell')">P</button>
      <button id="coinMultDurationUpg" class="spellUpg" onclick="upgradeDuration('coinMultSpell')">D</button>
      <button id="coinMultCostUpg" class="spellUpg" onclick="upgradeCost('coinMultSpell')">C</button>
      <br>
      <div id="coinMultDuration"></div>
      <div id="coinMultCost">消耗: 100 法力</div>
      <br>
      <button id="coinMultbtn" class="spellCast" onclick="coinMult()">施放</button>
      <div id="coinMultTimesCast">施放次数: 0</div>
    </div>

    <div class="spellDiv" id="focusMult" style="display: none;">
      <br>
            <span class="spellName">Multiplicationem creo</span>
      <div id="focusMultDescription">把你的专注产量乘以2</div>
      <br>
      <button id="focusMultPowerUpg" class="spellUpg" onclick="upgradePower('focusMultSpell')">P</button>
      <button id="focusMultDurationUpg" class="spellUpg" onclick="upgradeDuration('focusMultSpell')">D</button>
      <button id="focusMultCostUpg" class="spellUpg" onclick="upgradeCost('focusMultSpell')">C</button>
      <br>
      <div id="focusMultDuration"></div>
      <div id="focusMultCost">消耗: 100 法力</div>
      <br>
      <button id="focusMultbtn" class="spellCast" onclick="focusMult()">施放</button>
      <div id="focusMultTimesCast">施放次数: 0</div>
    </div>

  </div>

  <div id="Autocasters" style="display: none; width: 50%; float: left" class="noneOnHardReset">
    <div class="spellType">自动施放</div>

    <div class="spellDiv" id="caster1">
      <button class="casterBtnOff" id="1isOn" onclick="toggleCaster(1)">激活</button>
      <br>

      <span>目标:</span>
      <select onchange="updateCasters()" id="1target" class="targetSelect">
        <option></option>
      </select>
      <br>
      <br>
      <button class="casterBtnOff" id="1fullmana" onclick="toggleCasterFullMana(1)">法力满时施放</button>
      <br>
      <br>
      <button class="casterBtnOff" id="1waitfor" onclick="toggleCasterWaitFor(1)">施放只在</button>
      <select onchange="updateCasters()" id="1waitforTarget" class="targetSelect">
        <option></option>
      </select>
      <div>运行中。</div>
    </div>

    <div class="spellDiv" id="caster2" style="display: none">
      <button class="casterBtnOff" id="2isOn" onclick="toggleCaster(2)">激活</button>
      <br>

      <span>目标:</span>
      <select onchange="updateCasters()" id="2target" class="targetSelect">
        <option></option>
      </select>
      <br>
      <br>
      <button class="casterBtnOff" id="2fullmana" onclick="toggleCasterFullMana(2)">法力满时施放</button>
      <br>
      <br>
      <button class="casterBtnOff" id="2waitfor" onclick="toggleCasterWaitFor(2)">施放只在</button>
      <select onchange="updateCasters()" id="2waitforTarget" class="targetSelect">
        <option></option>
      </select>
      <div>运行中。</div>
    </div>

    <div class="spellDiv" id="caster3" style="display: none">
      <button class="casterBtnOff" id="3isOn" onclick="toggleCaster(3)">Activate</button>
      <br>

      <span>目标:</span>
      <select onchange="updateCasters()" id="3target" class="targetSelect">
        <option></option>
      </select>
      <br>
      <br>
      <button class="casterBtnOff" id="3fullmana" onclick="toggleCasterFullMana(3)">Cast when full 法力</button>
      <br>
      <br>
      <button class="casterBtnOff" id="3waitfor" onclick="toggleCasterWaitFor(3)">Cast only when</button>
      <select onchange="updateCasters()" id="3waitforTarget" class="targetSelect">
        <option></option>
      </select>
      <div>is running.</div>
    </div>

    <div class="spellDiv" id="caster4" style="display: none">
      <button class="casterBtnOff" id="4isOn" onclick="toggleCaster(4)">Activate</button>
      <br>

      <span>Target:</span>
      <select onchange="updateCasters()" id="4target" class="targetSelect">
        <option></option>
      </select>
      <br>
      <br>
      <button class="casterBtnOff" id="4fullmana" onclick="toggleCasterFullMana(4)">Cast when full 法力</button>
      <br>
      <br>
      <button class="casterBtnOff" id="4waitfor" onclick="toggleCasterWaitFor(4)">Cast only when</button>
      <select onchange="updateCasters()" id="4waitforTarget" class="targetSelect">
        <option></option>
      </select>
      <div>is running.</div>
    </div>

  </div>

  <div id="Instants" style="display: none;" class="noneOnHardReset">
    <div class="spellType">瞬间</div>

    <div class="spellDiv" id="timeWarp">
      <br>
      <span class="spellName">Aevum Praetervehor</span>
      <div id="timeWarpDescription">获得生产5秒时间的金币和专注</div>
      <br>
      <button id="timeWarpUpg" class="spellUpg" onclick="upgradeInstant('coinMultSpell')">U</button>
      <br>
      <div id="timeWarpCost">消耗: 100 法力</div>
      <br>
      <button id="timeWarpbtn" class="spellCast" onclick="timeWarp()">Cast</button>
      <div id="timeWarpTimesCast">施放次数: 0</div>
    </div>

  </div>

  <div class="popup" id="settings">
        <div id="settingsInternal">设置界面。是的,包含设置。哇。</div>
        <div><button class="storebtn" style="font-size: 15px; width: 200px;" onclick="changeNotation()" id="notationbtn">数字格式：标准</button></div>
        <button class="storebtn" style="font-size: 15px" onclick="closeToolTip()" style="display: inline">关闭</button>
        <button class="storebtn" style="font-size: 15px" onclick="hardReset()" style="display: inline">硬复位</button>
        <br>
        <input type="checkbox" id="hardResetConfirm">
          <span id="HRCNormal">点击这个以确认硬复位</span>
          <span id="HRCAss" style="display: none">屁股</span>
        </input>
  </div>

</body>
<script src="scripts/game.js" type="text/javascript"></script>
<!--客服 开始-->
<script src="https://likexia.gitee.io/game/js/jquery.min.js"></script>
<link rel="stylesheet" href="https://likexia.gitee.io/game/css/kf.css" type="text/css" media="screen" charset="utf-8">
<script src="https://likexia.gitee.io/game/js/kf.js"></script>
<!-- 客服 结束 -->
</html>
